home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 February / EnigmA AMIGA RUN 04 (1996)(G.R. Edizioni)(IT)[!][issue 1996-02][Skylink CD III].iso / earcd / comm2 / toymen20.lha / ToyMenu / Docs / ToyBytes.doc next >
Text File  |  1995-12-16  |  3KB  |  81 lines

  1.          __                       __                  ________
  2.    _ ___/  \___       _______ ___/  \___      (d!)  _ \      /____
  3.     \\__    __/_______\_    /_\__    __/_________    \ \   _/    /_____
  4.       /     ¬\    _    /   / ¬\/     ¬\    _    /______/_  `    /  ,__/___ _
  5.      /        ·   /   /____,   \_      ·   /   /   _    /\_____/\___   .://
  6.     ·          \_____/   /______/       \_____/\   /   /     _ _   /    /
  7.                                                 \_____/         \______/
  8.  
  9.                  ·)^» ToyBytes v1.O for DayDream BBS «^(·
  10.  
  11.                  Today's uploads counter for ToyMenu v2.O
  12.  
  13.           Programmed by Joo/ToyTools with ASM-One v1.28 by T.F.A.
  14.  
  15.  
  16.   Introduction:
  17.  
  18.   ToyBytes is a small command which counts today's uploaded bytes & files.
  19.   It's designed to be used with ToyMenu v2.O, but if you find any other usage
  20.   for it, go ahead. With ToyMenu & ToyBytes, you'll see today's uploaded
  21.   bytes and/or files in the conference selector.
  22.  
  23.  
  24.   How to install ToyBytes:
  25.  
  26.   - ToyBytes can be put anywhere. I have it in "DayDream:Utils/".
  27.   - You need to make a "config" file for ToyBytes. This config is just a text
  28.     file which can have four types of keywords in it.
  29.  
  30.     %nF outputs uploaded files in conference n (e.g. %2F).
  31.     %nB outputs uploaded bytes in conference n (e.g. %2B).
  32.     %nK outputs uploaded kilobytes in conference n (e.g. %2K).
  33.     %nM outputs uploaded megabytes in conference n (e.g. %2M).
  34.  
  35.     So, use ansi-codes to jump to right place at the screen. Then just use
  36.     the "%nF", "%nB", "%nK" and "%nM" keywords to output the number of
  37.     uploaded files, bytes etc.
  38.     You don't have to put all conferences in the config, e.g. just put those
  39.     which are public and have fileares.
  40.  
  41.     Example: (I removed the escapes) 
  42.  
  43.   -----cut here-----------------------------------------------cut here-----
  44. [36m[16;56H%2F[16;60H%2B
  45. [36m[18;56H%4F[18;60H%4B
  46.   -----cut here-----------------------------------------------cut here-----
  47.  
  48.     - Let's imagine that the first conf is a "new users"-conference and you
  49.       don't want to display it's uploaded bytes.
  50.     - The next is the main conf in your board, "amiga wares". So here we
  51.       use the keywords.
  52.     - The third conf is an adverts conf, no files here.
  53.     - And the forth is a request conf, again we use the keywords.
  54.     - Note that the linefeed between the two confs is in fact useless,
  55.       it's just there to help editing the lines.
  56.  
  57.   - Run ToyBytes in DayDream's logoff batch or somewhere where it will be
  58.     updated after each user or upload.
  59.  
  60.     USAGE: ToyBytes <CONFIG> <REPORT>
  61.  
  62.     My own usage is:
  63.  
  64. DayDream:Utils/ToyBytes DayDream:Configs/ToyBytes.CFG DayDream:Display/ISO/ToyBytes.GFX
  65.  
  66.   - Then just display the report in ToyMenu (add a line to ToyMenu.GFX):
  67.  
  68. ÿBDayDream:Display/ISO/ToyBytes.GFX|
  69.  
  70.  
  71.               ... to contact ToyTools, you can call my board ...
  72.   _ _ _ __ _                                                       _ __ _ _ _
  73.      \\___ ____  __  ___  ___  ____ ____ ____ __ __ . ___  ____ ____ ___//
  74.         \_ \  /·(_/_·\__'·\  '·\__/·\  /·\__/·\ | /·|·\__'·\__/·\  / _/
  75.     _ _ _¦__ _                                                   _ __¦_ _ _
  76.        \\_      daydreaming on a123O/5Omhz/1Omb/2.1gb/v34/hydra      _//
  77.  -  - ---+-      amiga wares · programming · guitar · toytools      -+--- -  -
  78.          ¦:.                                                       .:¦
  79.          `----- -  -   -  - --> +358-72-5512972 <-- -  -   -  - -----'
  80.  
  81.